system of quadratic equations